home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / ada / gnat1792.zip / gnat179b / t-adainc / s-retide.ads < prev    next >
Text File  |  1994-05-19  |  2KB  |  46 lines

  1. ------------------------------------------------------------------------------
  2. --                                                                          --
  3. --                 GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS               --
  4. --                                                                          --
  5. --               S Y S T E M . R E A L _ T I M E . D E L A Y S              --
  6. --                                                                          --
  7. --                                  S p e c                                 --
  8. --                                                                          --
  9. --                             $Revision: 1.5 $                             --
  10. --                                                                          --
  11. --           Copyright (c) 1991,1992,1993, FSU, All Rights Reserved         --
  12. --                                                                          --
  13. --  GNARL is free software; you can redistribute it and/or modify it  under --
  14. --  terms  of  the  GNU  Library General Public License as published by the --
  15. --  Free Software Foundation; either version 2, or  (at  your  option)  any --
  16. --  later  version.   GNARL is distributed in the hope that it will be use- --
  17. --  ful, but but WITHOUT ANY WARRANTY; without even the implied warranty of --
  18. --  MERCHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Gen- --
  19. --  eral Library Public License for more details.  You should have received --
  20. --  a  copy of the GNU Library General Public License along with GNARL; see --
  21. --  file COPYING. If not, write to the Free Software Foundation,  675  Mass --
  22. --  Ave, Cambridge, MA 02139, USA.                                          --
  23. --                                                                          --
  24. ------------------------------------------------------------------------------
  25.  
  26. --  Implements real_time.time delays using a protected object
  27.  
  28. with System.Tasking.Protected_Objects;
  29. --  Uses, type:  Protection
  30.  
  31. package System.Real_Time.Delays is
  32.  
  33.    package Delay_Until_Object is
  34.  
  35.       Object : aliased Tasking.Protection (Num_Entries => 1);
  36.  
  37.       type Params is record
  38.          Param : Real_Time.Time;
  39.       end record;
  40.  
  41.       procedure Service_Entries (Pending_Serviced : out Boolean);
  42.  
  43.    end Delay_Until_Object;
  44.  
  45. end System.Real_Time.Delays;
  46.